package com.pa.chong.pachong.tool.dao;

import com.pa.chong.pachong.tool.entity.UserPhoto;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserPhotoDao extends JpaRepository<UserPhoto, Long> {

    public List<UserPhoto> findByImgType(String imgType);

    public List<UserPhoto> findByUserName(String userName);


}
